#ifndef PHEROMONE_MAP_H
#define PHEROMONE_MAP_H

#endif // PHEROMONE_MAP_H

#pragma once
#include <iostream>
#include "data.h"
using namespace std;

//size是矩形个数
void init_map(int size)
{
    for (int i = 0; i < size * 2; i++)
    {
        for (int j = 0; j < size * 2; j++)
        {
            peromone_map[i][j] = 0;
        }
    }

    for (int i = 0; i < size * 2; i++)
    {
        for (int j = 0; j < size * 2; j++)
        {
            if (i == j)
            {
                //peromone_map[i][j] = -1;
                peromone_map[i + size][j] = -1;
                peromone_map[i][j + size] = -1;
            }
        }
    }
}


